package com.teamwork.module03.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwork.common.entity.module03.Reply;
import com.teamwork.common.entity.module03.dto.ReplyDto;
import com.teamwork.common.result.Result;

import java.util.List;

public interface ReplyService extends IService<Reply> {
     //根据评论id获取所有回复
    List<ReplyDto> listByComId(Long comId);

    boolean deleteByArticeId(Long articleId);

    boolean deleteByUserId(Integer id);

    boolean delteByCid(Integer cid);

    Result toreply(Integer userid, Integer articleid, Integer commentid, String reply);
}
